﻿<script id="House_Sell_View" type="text/html">
    <div style="display:none"><input type="file" name='imgFile' id="uploadId"  /></div>
    <table style="width: 100%; border: 1px solid #CECECE; height: 100%">
        <tr>
            <td style="width: 63%; vertical-align: top">
                <table style="width: 100%;height:100%" class="thin">
                    <tr>
                        <th style="width: 45px">区域</th>
                        <td colspan="3">{{AreaName}} 
                            <span style="background-color: {{StateColor}}; color: white">{{StateName}}</span> 允许查看：{{ViewLevelName}}</td>
                    </tr>
                    <tr>
                        <th>小区</th>
                        <td style="width: 198px">[{{SellFaceName}}]{{BuildingName}} {{Dong}}#{{Fang}}</td>
                        <th style="width: 45px">户型</th>
                        <td>{{Shi}}室 <span>{{Ting}}厅 {{Chu}}厨 {{Wei}}卫</span></td>
                    </tr>
                    <tr>
                        <th>地址</th>
                        <td colspan="3">{{BuildingAddr}}</td>
                    </tr>

                    <tr>
                        <th>姓名</th>
                        <td>{{CustomerName}}</td>
                        <th>电话</th>
                        <td style="overflow: hidden"><span name="tdTel" style="visibility: hidden">
                            <input type="text" style="border: none; width: 170px; background-color: #ccc" value="{{CustomerTel}}" /></span></td>
                    </tr>
                    <tr>
                        <th>面积</th>
                        <td>{{HouseArea}}平 × {{UnitPrice}}元/平 = {{TotalPrice}}万</td>
                        <th>日期</th>
                        <td>{{AddTime}}</td>
                    </tr>
                    <tr>
                        <th>装修</th>
                        <td>{{DecorationName}}</td>
                        <th>楼层</th>
                        <td>{{HouseFloor}} / {{HouseTotalFloor}}</td>
                    </tr>
                    <tr>
                        <th>产证</th>
                        <td>{{GetPropertyDate}}</td>
                        <th>钥匙</th>
                        <td><span>{{if HasKey}}有{{else}}无{{/if}}</span> <a href="javascript:;" class="data-key">改为{{if HasKey}}无{{else}}有{{/if}}钥匙</a></td>
                    </tr>
                    <tr>
                        <th>部门</th>
                        <td colspan="3">[{{DepartName}}] {{AddUser}} {{Mobile}}</td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td colspan="3">{{Mem}}</td>
                    </tr>
                    <tr>
                        <th>跟进</th>
                        <td colspan="3"></td>
                    </tr>

                    <tr>
                        <td colspan="4" style="height: 180px; vertical-align: top">
                            <div style="height: 180px; overflow-y: auto">
                                <ul class="ulHouseSell"></ul>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 37%; vertical-align: top">
                <table style="width: 100%; height: 100%;border:1px solid #ccc">
                    <tr>
                        <td style="height:80%">
                            <div id="map{{TempId}}" style="width: 100%; height: 100%; overflow: hidden; margin: 0;">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="height:20%">
                            <div id="images" style="overflow-y:hidden;overflow-x:scroll;height:118px;"></div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</script>
